package com.dao.manager;

import java.util.List;
import java.util.Map;

import com.pojo.Electric;

public interface ElectricMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Electric record);

    int insertSelective(Electric record);

    Electric selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Electric record);

    int updateByPrimaryKey(Electric record);

	int addElectricInfo(Electric entity);

	int deleteElectricInfo(Map<String, String> paramsMap);

	int updateElectricInfo(Electric entity);
    
	List<Map<String, String>> getElectricInfo(Map<String, String> paramsMap);

	Map<String, String> getElectricByDeviceId(String id);

	List<Map<String, String>> getAllElectricInfo(Map<String, String> paramsMap);
}